import request from '@/utils/request'

export function getAll() {
  return request({
    url: '/Beginwish/all',
    method: 'get'
  })
}

export function getById(id) {
  return request({
    url: '/Beginwish/one',
    method: 'get',
    params: {
      id: id
    }
  })
}

export function deexport() {
  return request({
    url: '/Beginwish/Excel',
    method: 'get'
  })
}
